               
              <div id="content"> 
             		<div class="post">
               				<!--   <div id="welcome">  </div> -->
                  <h1>{$bodytitle|default:''}</h1>  
                  {if isset($smarty.get.inscription) && !empty($smarty.session._pass) && $smarty.session._type==0}
                  {include file='forminscription.tpl'}
                  {elseif (isset($smarty.get.editpage) && !empty($smarty.session._pass) && $smarty.session._type==0) || (isset($smarty.get.edit) && !empty($smarty.session._pass) && $smarty.session._type==0)}
                  {include file='editeur.tpl'}
                  {elseif isset($smarty.get.listcours) && $smarty.session._type==1}
                  {include file='coursforstudent.tpl'}
                  {elseif (isset($smarty.get.cours) && isset($smarty.session._type)) || (isset($smarty.get.upload) && isset($smarty.session._type))} 
				  {include file='cours.tpl'}
				  {elseif isset($smarty.get.traveau) && isset($smarty.session._type)} 
				  {include file='traveau.tpl'}
				  {elseif isset($smarty.get.projet) && $smarty.get.projet==1 && !empty($smarty.session._pass) && $smarty.session._type==0} 
                  {include file='projet.tpl'}
                  {elseif isset($smarty.get.projet) && $smarty.get.projet==2 && !empty($smarty.session._pass) && isset($smarty.session._type)} 
                  {include file='listedeprojet.tpl'}
                  {elseif isset($smarty.get.listtravaux) && $smarty.session._type==1}
                  {include file='listedetravauxetudiant.tpl'}
                  
                  {elseif isset($smarty.get.forum) && $smarty.session._type==1}
          
                 		 <iframe src="forum1/index.php" width="100%" >
 						 <p>Your browser does not support iframes.</p>
					</iframe>
                  
                  {else}
                  {$bodycontent|default:''}
                  {/if}
				 </div>
              </div>